import request from '../utils/request';
const api = {
  //简易运行 workflow
  create(data?: any) {
    return request({
      url: '/task/openapi/create',
      method: 'post',
      data,
    });
  },
  // 查询workflow运行结果
  outputs(data?: any) {
    return request({
      url: '/task/openapi/outputs',
      method: 'post',
      data,
    });
  },
  // 查询账号当前状态
  accountStatus(data?: any) {
    return request({
      url: '/uc/openapi/accountStatus',
      method: 'post',
      data,
    });
  },
};
export default api;
